<html>
<head>  
    <title>
        JavaScript数组
    </title>
</head>
<body>
    <script>    
    var aArr=["winde",,"fine"];
    document.write(aArr,"<br/>");
    aArr[3]="aw";
    var bArr=[1,2,3,4,5];
    var cArr=[];
    var dArr=new Array("北京","上海","深圳");
    var eArr=new Array(3,5,20,3,6,21);
    console.log(aArr);
    console.log(bArr);
    console.log(cArr);
    document.write(aArr,"<br/>");
    document.write(bArr.length,"<br/>");
    document.write(bArr,"<br/>");
    document.write(cArr,"<br/>");
    document.write(dArr,"<br/>");
    document.write(eArr,"<br/>");
    for(var i = 0; i < aArr.length; i++) {
        document.write(aArr[i],"<br/>");
        console.log(aArr[i]);
    }
    for (var i = 0; i < bArr.length; i++) {
        console.log(bArr[i]);
    }
    for (var i = 0; i < dArr.length; i++) {
        console.log(dArr[i]);
    }
    
    
    </script>
</body>